/*
 * @Description: 
 * @Author: wang_k
 * @Date: 2023-09-02 13:58:18
 * @LastEditTime: 2023-09-02 13:59:29
 * @FilePath: /demo_cesium/vue.config.js
 */
module.exports = {

  devServer: {
    // port: port,
    open: false,
    overlay: {
      warnings: false,
      errors: true
    },
    proxy: {
      "/Ipkjzzs": {
        target: `https://hzkjzz.hzsgis.com/Ip109-232-8080`,
        changeOrigin: true,
        pathRewrite: {
          "/Ipkjzzs": ""
        }
      },
      // 本地测试
      "/Ip-dev": {
        target: "http://10.95.83.98:11978",
        changeOrigin: true,
        pathRewrite: {
          "/Ip-dev": "",
        },
      },
      /* 铁路ip */
      "/Ip-tielu": {
        target: "https://swcims.hdec.com",
        changeOrigin: true,
        pathRewrite: {
          "/Ip-tielu": "",
        },
      },
    },

    // after: require('./mock/mock-server.js')
  }
}